/**
 * Created by sun on 2015/3/12.
 */
package com.jbm.jbmsupplier.util;
import java.io.Serializable;

public class IJOrder extends ICtrl implements Serializable
{
    public IJOrder ()
    {
        back = false;
        method = "";
        errorinfo = "";

        start = 0;
        count = 0;

        order_id = 0;
        status = "";
    }

    public IJOrder ( String method, int jorder_id )
    {
        this();

        this.method = method;
        this.jorder_id = jorder_id;
    }

    public IJOrder ( String method, int jorder_id, String memo )
    {
        this();

        this.method = method;
        this.jorder_id = jorder_id;
        this.memo = memo;
    }

    public IJOrder ( String method, int jorder_id, String amount, String job_sum, String guarantee_date )
    {
        this();

        this.method = method;
        this.jorder_id = jorder_id;
        this.amount = amount;
        this.job_sum = job_sum;
        this.guarantee_date = guarantee_date;
    }
    public IJOrder ( String method, int jorder_id, String amount, String job_sum, String guarantee_date ,int voucher,int voucher_id)
    {
        this.method = method;
        this.jorder_id = jorder_id;
        this.amount = amount;
        this.job_sum = job_sum;
        this.guarantee_date = guarantee_date;
        this.voucher=voucher;
        this.voucher_id=voucher_id;

    }
    public IJOrder ( String method, int order_id, int start, int count )
    {
        this();

        this.method = method;
        this.start = start;
        this.count = count;

        this.order_id = order_id;
    }

    public IJOrder ( String method, String status, int start, int count )
    {
        this();

        this.method = method;
        this.status = status;
        this.start = start;
        this.count = count;
    }

    public IJOrder ( boolean back, String errorinfo )
    {
        this();

        this.back = back;
        this.errorinfo = errorinfo;
    }
    private static final long serialVersionUID = 100001L;



    public int jorder_id;
    public String jorder_code;
    public int order_id;
    public int team;
    public String team_name;
    public String type;
    public String status;
    public String memo;
    public String create_date;
    public int create_id;
    public String create_name;
    public String expire_date;
    public String close_date;
    public int close_id;
    public String close_name;
    public String last_update;
    public int update_id;
    public String update_name;

    public String ord_member_name;
    public String ord_seller_name;
    public ICertAddress ord_caddr;
    public String ord_item_desc;

    public String amount;
    public String job_sum;
    public String guarantee_date;
    public int voucher;
    public int voucher_id;



    public IAttachment[] ord_att;
    public IAttachment[] jord_att;
}
